﻿using Orders.Input;
using Orders.Output;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.DependencyInjection;
using webservice.Input;

namespace webservice
{
    public class OrderWebService : IOrderWebService, ITransientDependency
    {
        public Task<string> CreateOrderList(string xml)
        {

            return Task.FromResult("操作成功"); 
        }

        public Task<OrderOutput> GetOrderList(OrderXmlInput input)
        {
            var dto = new OrderOutput()
            {
                VoucherCode = input.VoucherCode,
                SupplierName = "test"
            };
            return Task.FromResult(dto);
        }
    }
}
